//
//  YSDownloadBookModel.h
//  YSDownLoadManager_Example
//
//  Created by Kyson on 2018/12/4.
//  Copyright © 2018 kysonyangs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YSModelProtocol.h"

@interface YSDownloadBookModel : NSObject <YSModelProtocol>

/// ID --> 名字md5
@property (nonatomic, copy) NSString *bookID;
/// 书名
@property (nonatomic, copy) NSString *bookTitle;
/// url
@property (nonatomic, copy) NSString *bookUrl;
/// path --> 存储
@property (nonatomic, copy) NSString *bookPath;

/// 是否已经被下载
@property (nonatomic, assign) BOOL isDownload;
/// 文件总大小
@property (nonatomic, assign) long long totalSize;
/// 下载进度
@property (nonatomic, assign) CGFloat progress;

@end
